package model;

public class Formulaire {
	private String nom;
	private String prenom;
	private String sexe;
	private String transport;
	private int codePostal;
	
	public Formulaire() {
		
	}
	
	public Formulaire(String nom, String prenom, String sexe, String transport, int codePostal) {
		this.nom = nom;
		this.prenom = prenom;
		this.sexe = sexe;
		this.transport = transport;
		this.codePostal = codePostal;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getSexe() {
		return sexe;
	}

	public void setSexe(String sexe) {
		this.sexe = sexe;
	}

	public String getTransport() {
		if (transport == null)
			return "";
		return transport;
	}

	public void setTransport(String transport) {
		this.transport = transport;
	}

	public int getCodePostal() {
		return codePostal;
	}

	public void setCodePostal(int codePostal) {
		this.codePostal = codePostal;
	}
	
	
}
